package com.hisicom.scqxspxcjc.common.file.bean;

import com.hisicom.scqxspxcjc.base.bean.BaseEntity;
import com.hisicom.scqxspxcjc.base.tool.comment.OComment;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author zhonggls
 * @date 2020/4/21 17:19
 * @Explain 文件
 */
@Data
@Entity
@Table(name = "file")
public class FileBean extends BaseEntity {
    @OComment("业务id")
    @Column(name = "fk_business_id", length = 32)
    public String fkBusinessId;//业务id`
    @OComment("文件名称")
    @Column(name = "name",length = 255)
    public String name;//文件名称`
    @OComment("路径")
    @Column(name = "path", length = 1024)
    public String path;//路径`
    @OComment("标签")
    @Column(name = "label",  length = 32)
    public String label;//标签
    @OComment("排序")
    @Column(name = "sort",  length = 4)
    public String sort;//排序`
    @OComment("状态` 1.已绑定业务数据，0未绑定业务数据'")
    @Column(name = "status", length = 4)
    public String status;//状态` 1.已绑定业务数据，0未绑定业务数据',

}

